package cn.sample.moreitems.client;

import cn.sample.moreitems.init.ModEntities;
import net.minecraft.client.renderer.entity.EntityRenderers;
import net.minecraft.client.renderer.entity.ThrownItemRenderer;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;

public class ClientSetup {
    public static void init(final FMLClientSetupEvent e) {
        e.enqueueWork(() ->
                EntityRenderers.register(ModEntities.THROWN_ROCK.get(),
                        ctx -> new ThrownItemRenderer<>(ctx, 1.0F, true)));
    }
}
